package com.zhuzi.springmvcpro.service.impl;

import com.zhuzi.springmvcpro.dao.User;
import com.zhuzi.springmvcpro.mapper.UserMapper;
import com.zhuzi.springmvcpro.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author : zga
 * @date : 2016-10-14
 *
 * UserService 实现类
 */
@Service
public class UserServiceImpl implements UserService{

    @Resource
    UserMapper userMapper;

    @Override
    public List<User> getUserList() {

        List<User> list = userMapper.getUserList();

        return list;
    }
}
